﻿using System;
using System.Collections.Generic;
using MyWebApplication.Model;

namespace MyWebApplication.Logic
{
	public interface IStore
	{
		bool AddPerson(Person person);
		bool AddPersonReward(Guid person, Guid reward);
		bool AddReward(Reward reward);
		void GetPagePersons();
		
		PersonReward GetPersonRewards(Guid personId);
		List<Person> GetPersons();
		List<Reward> GetRewards();

		Reward GetReward(Guid id);
		Person GetPerson(Guid id);

		void EditPerson(Person person);
		void EditReward(Reward reward);
		byte[] GetPersonsList();
	}
}
